net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 16 Sep 2019 11:31:26 +0000 (14:31 +0300)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 7 Dec 2019 12:24:06 +0000 (12:24 +0000)
commitd36a3dddc68161c271209031af7cdb4fca2d5a86
treeb6eb92e8af92cce9b4ceb45da5b90d89ce2ac126
parenta7b3d88b17567362908a7d973d600ecfd2664709
net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it

Add intr_moder_rx_interval to struct ena_com_dev and use it as the
location where the interrupt moderation rx interval is saved, instead
of the interrupt moderation table.

This is done as a first step before removing the old interrupt moderation
code.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/ena
Gbp-Pq: Name 0002-net-ena-add-intr_moder_rx_interval-to-struct-ena_com.patch
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_netdev.c